﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TiPort.TiEntityObjects;
using System.Xml.Serialization;
using TI;

namespace TiEntityObject.Notification
{
    public class NotificationPlacement 
    {
     
        [XmlElement("additionalInfo")]
        public string additionalInfo { get; set; }

        [XmlElement("deliveryTerm")]
        public string deliveryTerm { get; set; }
        
        [XmlElement("deliveryPlace")]
        public string deliveryPlace { get; set; }


        [XmlElement("guaranteeApp")]
        public NotificationGuaranteeApp NotificationGuaranteeApp { get; set; }

        [XmlElement("guaranteeContract")]
        public NotificationGuaranteeContract NotificationGuaranteeContract  { get; set; }

    }

    public class NotificationPlacementDelivery 
    {
        [XmlElement("deliveryTerm")]
        public string additionalInfo { get; set; }

        [XmlElement("deliveryPlace")]
        public string deliveryPlace { get; set; }

    }

    public class NotificationGuaranteeApp 
    {
        [XmlElement("procedure")]
        public string procedure { get; set; }

        [XmlElement("settlementAccount")]
        public string settlementAccount { get; set; }

        [XmlElement("personalAccount")]
        public string personalAccount { get; set; }

        [XmlElement("bik")]
        public string bik { get; set; }
        
      
    }


    public class NotificationGuaranteeContract 
    {
        [XmlElement("procedure")]
        public string procedure { get; set; }

        [XmlElement("settlementAccount")]
        public string settlementAccount { get; set; }

        [XmlElement("personalAccount")]
        public string personalAccount { get; set; }

        [XmlElement("bik")]
        public string bik { get; set; }

    }
    
}
